package com.sysu.simulation.bean;

import java.io.Serializable;

public class User implements Serializable{

    private String id;
    private String name;
    //private String portrait;
    private int height;
    private int weight;
    private int gender;// 0 for male, 1 for female

    public User() {
        id = null;
    }

    // test constructor
    public User(String id, String nickname, String portrait, int height, int weight, int gender) {
        this.id = id;
        this.name = nickname;
        //this.portrait = portrait;
        this.height = height;
        this.weight = weight;
        this.gender = gender;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setNickname(String nickname) {
        this.name = nickname;
    }

    public String getNickname() {
        return name;
    }

    /*public void setPortrait(String portrait) {
        this.portrait = portrait;
    }*/

    /*public String getPortrait() {
        return portrait;
    }*/

    public void setHeight(int height) {
        this.height = height;
    }

    public int getHeight() {
        return height;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getWeight() {
        return weight;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getGender() {
        return gender;
    }
}
